﻿using ZenSystemService.Api.Business;

namespace ZenSystemService.Api.Services
{
    public static class ServicesExtensions
    {
        public static void AddBizServices(this IServiceCollection services)
        {
            services.AddScoped<AuthService>();
            services.AddScoped<DeviceService>();
            services.AddScoped<InstitutionSalesOrderService>();
            services.AddScoped<InstitutionService>();
            services.AddScoped<RoleService>();
            services.AddScoped<UserService>();
            services.AddScoped<SMSVerificationCodeService>();
            services.AddScoped<AreaService>();
            services.AddScoped<UserRoleService>();
            services.AddScoped<TencentAccessTokenService>();
            services.AddScoped<AppletsInterfaceBusiness>();
            services.AddScoped<DTOBusiness>();
            services.AddScoped<CourseService>();
            services.AddScoped<ProductTypeService>();
            services.AddScoped<InstitutionTrainingItemService>();
            services.AddScoped<CourseTrainingAssignService>();

            services.AddScoped<UserBusiness>();

            services.AddScoped<ProductService>();
            services.AddScoped<TraineeOrderService>();
            services.AddScoped<TrainingReportService>();

            services.AddScoped<RecommendTermService>();
            services.AddScoped<ZenBrightService>();

            services.AddScoped<ZenBrightBusiness>();

        }
    }
}
